import requests


headers = {
    "Accept": "*/*",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Authorization": "Bearer undefined",
    "Connection": "keep-alive",
    "Sec-Fetch-Dest": "empty",
    "Sec-Fetch-Mode": "cors",
    "Sec-Fetch-Site": "same-origin",
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
    "content-type": "application/json",
    "hmsd-referer": "https://sycl.sysu.edu.cn/index.html?comeFromCASLogin=1#mainlist?species=0",
    # "rjk": "x231.-547745906.01743068686698.0.0.aad21abd99d343bcac7d707147345a46.0.69",
    # "sec-ch-ua": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
    # "sec-ch-ua-mobile": "?0",
    # "sec-ch-ua-platform": "\"macOS\""
}
# cookies = {
#     "JSESSIONID": "3BCE94200043F1A100E21B568660DBF1",
#     "FELOGUSERFLAG": "aad21abd99d343bcac7d707147345a46"
# }
url = "https://sycl.sysu.edu.cn/hmsd/anno/homeOrderDetail"
params = {"useCache": "false", "pageNo": "1", "pageSize": "20", "species": "0"}
response = requests.get(url, headers=headers, params=params)

print(response.json())
